package com.cloud.test.usercustomerfegionhystrix.fallback;

import com.cloud.test.usercustomerfegionhystrix.pojo.User;
import com.cloud.test.usercustomerfegionhystrix.userFeignClient.UserFeign;
import org.springframework.stereotype.Component;

@Component
public class HystrixCommandFallback implements UserFeign {
    @Override
    public User getUser(Integer id) {
        return new User();
    }
}
